import request from '@/utils/request'

//获取核算单列表
export function periodEndList(query) {
  return request({
    url: '/restaurant/settlement/list',
    method: 'get',
    params: query
  })
}

//生成期末核算单
export function createPeriodEnd(data) {
  return request({
    url: '/restaurant/settlement',
    method: 'post',
    data: data
  })
}
